package com.scz.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 *
 * @date 2021/11/20 15:38
 **/
@Data
public class RegisterDto {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "邮箱地址不能为空")
    private String email;

    @NotBlank(message = "邮箱验证码不能为空")
    private String emailCode;

}
